package cn.iocoder.yudao.module.course.controller.admin.interactive.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 课程交互分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class InteractivePageReqVO extends PageParam {

    @Schema(description = "源类型", example = "2")
    private Integer sourceType;

    @Schema(description = "源id", example = "24512")
    private Long sourceId;

    @Schema(description = "测试类型", example = "2")
    private Integer testType;

    @Schema(description = "测试类型id", example = "19756")
    private Long testId;

    @Schema(description = "触发测试时间点")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Integer[] startTime;

    @Schema(description = "失败回放到时间点")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Integer[] toPlayStartTime;

    @Schema(description = "通过放行，0 不通过也可以放行，1 通过才可以放行")
    private Integer passed;

    @Schema(description = "行锁版本号")
    private Integer version;

    @Schema(description = "组归属部门（当前新增用户所在的部门）", example = "20789")
    private Long deptId;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}